<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>图书列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="content-type" content="text/html;charset=utf-8">

<style type="text/css">
	body {
		font-size: 10pt;
	}
	.icon {
		margin:20px;
		border: solid 0px whrite;
		width: 180px;
		height: 200px;
		text-align: center;
		float: left;
	}
	a{
		text-decoration: none;
	}
</style>
  </head>
  
  <body>
	<c:forEach items="${pageBean.beanList }" var="book">
		  <div class="icon">
		    <a href="<c:url value='/bookinfo?bid=${book.bid }'/>"><img src="<c:url value='/${book.image }'/>" border="0px" style="width: 110px;height: 150px;"></a>
		      <br/>
		   	<a href="<c:url value='/bookinfo?bid=${book.bid }'/>">${book.bname }</a>
		  </div>
	</c:forEach>
  </body>
 
</html>

